<form action='<?= AdminController::_makeURL('friends', 'star', 'cate')?>' method="POST">
<table class='property' cellpadding="0" cellspacing="0">
	<tr>
		<td class='key'>父级分类</td>
		<td>
		<select name="cate[parent_id]">
			<option value="0"> 一级分类 </option>
			<?php foreach($this->ret as $key => $val):?>
				<option value="<?=$val['id']?>" rel="<?=$val['dep']?>"><?=str_repeat(' │ ', $val['dep']) . '├─' . $val['cate_name']?></option>
			<?php endforeach;?>
			</select>
		</td>
	</tr>
	
</table>
</form>